package com.zt.location.modules.base.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zt.location.modules.base.dao.ReaderRelationDao;
import com.zt.location.modules.base.entity.ReaderRelationEntity;
import com.zt.location.modules.base.service.ReaderRelationService;

@Service("readerRelationService")
public class ReaderRelationServiceImpl implements ReaderRelationService {
	@Autowired
	private ReaderRelationDao readerRelationDao;

	@Override
	public ReaderRelationEntity queryObject(Integer id) {
		return readerRelationDao.queryObject(id);
	}

	@Override
	public List<ReaderRelationEntity> queryList(Map<String, Object> map) {
		return readerRelationDao.queryList(map);
	}

	@Override
	public int queryTotal(Map<String, Object> map) {
		return readerRelationDao.queryTotal(map);
	}

	@Override
	public void save(ReaderRelationEntity group) {
		readerRelationDao.save(group);
	}

	@Override
	public void update(ReaderRelationEntity group) {
		readerRelationDao.update(group);
	}

	@Override
	public void delete(Integer id) {
		readerRelationDao.delete(id);
	}

	@Override
	public void deleteBatch(Integer[] ids) {
		readerRelationDao.deleteBatch(ids);
	}

}
